FROM python:3.9-buster

WORKDIR /app

COPY requirements.txt requirements.txt

RUN pip install --no-cache --user -r requirements.txt

COPY . .

EXPOSE 5050

CMD ['python3', '-m', 'flask', 'run', '--host=0.0.0.0']